﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;

namespace BUS
{
    public class ChatRoomBUS
    {
        ChatRoomDAO chatRoomDAO = new ChatRoomDAO();

        public void AddChatRoom(ChatRoom room)
        {
            chatRoomDAO.AddChatRoom(room);
        }

        public bool DeleteChatRoom(int id)
        {
            return chatRoomDAO.DeleteChatRoom(id);
        }
    }
}
